import { Navigate, Outlet ,useMatch } from '@umijs/max'

import { useEffect } from 'react';
 export default function Title(props:any): JSX.Element{
	const match = useMatch('/login')

	useEffect(()=>{
		document.title="登陆"
	})
	console.log(`props:`,match)
	return (<Outlet></Outlet>)
}
